package dao;

import java.sql.SQLException;
import java.util.List;
import entity.News;

public interface NewsDao
{
    public int add(News a) throws SQLException;
    
    public int delete(int aid) throws SQLException;
    
    public int update(News a) throws SQLException;
    
    public List query() throws SQLException;
    
    public News selectId(int id) throws SQLException;
    //

}
